Skip to content

features=tree: the visualizer's mode «Baum» - #33

Merged
cedricvogel-leo merged 1 commit into
mainfrom
feature/tree
Nov 6, 2026
Merged

cedricvogel-leo merged 1 commit into
mainfrom
feature/tree

Conversation

@cedricvogel-leo

Copy link
Copy Markdown
Collaborator

Passes the feature tree on to the embed (glpython-editor#53): the visualizer's third mode «Baum», an expression shown as its tree while it is evaluated.

  • featureNames: tree is added, and like coverage and listtree it isn't part of «everything». A block without features= doesn't get it, so published courses don't change.
  • Preset: tree as a block option presets the mode, like box and substitution, e.g. @GLPython.visual(tree features=visualize,tree). Without the feature, the embed shows «Ersetzung».
  • Docs: a README paragraph after listtree, and the «Box or substitution» section mentions tree.
  • Test course: examples/profiles.md gets a profile ausdruck (features=run,repl,visualize,ide,tree,listtree) with a slide: (2 + 3) * 4, quadrat(2 + 1), notenschnitt([4, 5, 4.5]) with local variables (box plus note) and a list tree.

Order: merge glpython-editor#53 first. Before that, the embed ignores tree and the block shows two modes. No course needs a bump for this, since none uses tree yet.

Checks: check-macro and check:ready pass; check:player wasn't run, since this doesn't touch the ready path.

🤖 Generated with Claude Code

"tree" goes on to the embed, not part of «everything» (like coverage and
listtree); "tree" also presets the mode, like box and substitution. README
paragraph, and a profile "ausdruck" (tree,listtree) in examples/profiles.md.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@cedricvogel-leo
cedricvogel-leo merged commit d201a58 into main Nov 6, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant